package net.citiport.ggltranslate.util;

import static org.junit.Assert.*;

import org.junit.Test;

public class WebUtilTest {

	@Test
	public void testGetRequest() {
		//temp test
		String actual = WebUtil.getRequest("http://api.kivaws.org/v1/releases/api/current.json");
		if(actual!=null)
			actual = actual.trim();
		String expected = "{\"release\":{\"id\":\"25636\",\"date\":\"2010-09-03T19:39:23Z\"}}";
		assertEquals("Result", expected, actual);
	}

}
